#ifndef TEST_H
#define TEST_H

#include <QObject>
#include "testthread.h"
#include "a.h"
#include <QTimer>

class Test : public QObject
{
    Q_OBJECT
public:
    explicit Test(QObject *parent = 0);


signals:
    void send_event();

public slots:
    void test();

private:
    QThread *m_thread;
    A *m_a;
    A *m_b;
    QTimer *m_timer;
};

#endif // TEST_H
